package com.kern.academic.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

/**
 * Created by caoshi at 0:30 2021-07-04
 */

@Data
@Entity
@Table(name = "t_role")
public class XRole implements Serializable {

    private static final long serialVersionUID = -7755992306297124837L;
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "role_name")
    private String roleName;

    @Column(name = "role_desc")
    private String roleDesc;
}
